//
// Created by 张玭 on 24-6-17.
//

#include "../HeadFiles/boss.h"

Boss::Boss(int id, std::string name, int dId) {
    this->m_Id = id;
    this->m_Name = name;
    this->m_DeptId = dId;
}

void Boss::showInfo() {
    std::cout << "职工编号：" << this->m_Id
              << "\t职工姓名：" << this->m_Name
              << "\t岗位：" << this->getDeptName()
              << "\t岗位职责：管理公司所有事务" << std::endl;
}

string Boss::getDeptName() {
    return string("老板");
}